<?php
namespace kongzhiqi;

/**
 * 默认控制器
 */
class Index extends Gonggong
{
    public function index() {
        rizhi($_COOKIE,'_COOKIE');
        rizhi($_REQUEST,'_REQUEST');
        fanhui('OK ', $_COOKIE); // 返回信息
    }


    // 构造函数
    public function __construct(){
        parent::__construct();
        // tiaoshi("Index __construct ");
    }

    // 前置操作
    public function __qianzhi() {
        // tiaoshi("__qianzhi in Index is running");
    }
    
    // 后置操作
    public function __houzhi() {
        // tiaoshi("__houzhi in Index is running");
    }

    // 解构函数
    public function __destruct(){
        // tiaoshi("Index __destruct ");
        parent::__destruct();
    }
}

